package com.zmn.plat.common.constant;

/**
 * @author quanjic
 * @version v1.0
 * @since 2019/10/15 18:58
 **/
public class ProductConsts {

    /**
     * 描述: 产品分类：后端产品
     *
     * @author tanghongjun
     * @since 20190920
     **/
    public static final Integer ERP_PRODUCT_TYPE = 1;

    /**
     * 描述: 产品分类：前端产品
     *
     * @author tanghongjun
     * @since 20190920
     **/
    public static final Integer EC_PRODUCT_TYPE = 2;

    /**
     * 描述: 产品分类：计价器产品
     *
     * @author tanghongjun
     * @since 20190920
     **/
    public static final Integer ET_PRODUCT_TYPE = 3;

    /**
     * 业务类型：10 C-保外业务
     */
    public static final int BIZ_TYPE_C = 1;
    public static final String BIZ_TYPE_C_CN = "保外业务";
    public static final String BIZ_TYPE_C_EN = "C";
    public static final String BIZ_TYPE_C_EN_CN = "C-保外业务";

    /**
     * 业务类型：20 F-保内业务
     */
    public static final int BIZ_TYPE_F = 2;
    public static final String BIZ_TYPE_F_CN = "保内业务";
    public static final String BIZ_TYPE_F_EN = "F";
    public static final String BIZ_TYPE_F_EN_CN = "F-保内业务";

    /**
     * 业务类型：10 B-工程业务
     */
    public static final int BIZ_TYPE_B = 3;
    public static final String BIZ_TYPE_B_CN = "工程业务";
    public static final String BIZ_TYPE_B_EN = "B";
    public static final String BIZ_TYPE_B_EN_CN = "B-工程业务";

    /**
     * 产品类型：1故障
     */
    public final static int SERV_SUB_TYPE_HITCH = 1;
    /**
     * 产品类型：2保修
     */
    public final static int SERV_SUB_TYPE_GUARANTEE = 2;

    /**
     * 保内/保外：1.保外  2.保内  3.全部（保外/保内）
     */
    public static final int WARRANTY_TYPE_OUT = 1;
    public static final int WARRANTY_TYPE_IN = 2;
    public static final int WARRANTY_TYPE_ALL = 3;


    /**
     * 通用服务项目:调整项
     */
    public final static int SERVICE_ITEM_COMMON_ADJUST = -1;
    /**
     * 通用服务项目:其他
     */
    public final static int SERVICE_ITEM_COMMON_OTHER = -2;
    /**
     * 通用服务项目:免费特殊项目
     */
    public final static int SERVICE_ITEM_COMMON_FREE = -3;
    /**
     * 通用服务项目:远程服务费 项目
     */
    public final static int SERVICE_ITEM_COMMON_REMOTE = -4;
    /**
     * 通用服务项目:费用服务项
     */
    public final static int SERVICE_ITEM_FREE = -5;

    /**
     * 服务项目特殊调整项
     */
    public final static int SERVICE_ITEM_COMMON_ADJUST_GROUP_ID = 9999999;
    public final static String SERVICE_ITEM_COMMON_ADJUST_GROUP_NAME = "特殊调整项";

    /**
     * 服务分类：家电清洗
     */
    public final static int CATEG_CLEANING = 1001;

    /**
     * 价格表：非默认
     */
    public static final int CURRENCY_DEFAULT_FALSE = 1;
    /**
     * 价格表：默认
     */
    public static final int CURRENCY_DEFAULT_TRUE = 2;

    /**
     * 描述:zmn前台产品导出表头
     *
     * @author tanghongjun
     * @since 2020年3月3日
     **/
    public static final String[] ZMN_SHOW_PRODUCT_EXCEL_TITLE = {"服务分类", "一级分类", "二级分类", "产品ID", "产品名称", "展示平台", "单位", "产品状态"};

    /**
     * 描述:zmn后台产品导出表头
     *
     * @author tanghongjun
     * @since 2020年3月3日
     **/
    public static final String[] ZMN_PRODUCT_EXCEL_TITLE = {"服务分类", "一级分类", "二级分类", "产品ID", "产品名称", "关联前台产品名称", "产品类型",
            "渠道名称", "展示平台", "单位", "产品状态", "计价器名称", "计价器状态"};

    /**
     * 描述:zmn产品组导出表头
     *
     * @author tanghongjun
     * @since 2020年3月3日
     **/
    public static final String[] ZMN_PRODUCT_GROUP_EXCEL_TITLE = {"排序", "分组ID", "分组名称", "业务类型", "业务线", "状态", "最近修改人", "时间"};

    /**
     * 描述:zmn产品业务线导出表头
     *
     * @author tanbiao
     * @since 2020/10/27 14:52
     **/
    public static final String[] ZMN_PRODUCT_BUSINESS_LINE_EXCEL_TITLE = {"排序", "ID", "业务类型", "名称", "状态", "最近修改人", "时间"};

    /**
     * 产品类型：1通用产品，2渠道产品
     */
    public final static int SERV_PRODUCT_TYPE_CURRENT = 1;
    public static final String SERV_PRODUCT_TYPE_CURRENT_CN = "通用产品";
    public final static int SERV_PRODUCT_TYPE_CHANNEL = 2;
    public static final String SERV_PRODUCT_TYPE_CHANNEL_CN = "渠道产品";

    /**
     * 产品类型：1通用产品，2渠道产品
     */
    public final static int FAULT_IMAGE_TYPE_BUILTIN = 1;
    public static final String FAULT_IMAGE_TYPE_BUILTIN_TEXT = "内机";
    public final static int FAULT_IMAGE_TYPE_OFFLINE = 2;
    public static final String FAULT_IMAGE_TYPE_OFFLINE_TEXT = "外机";

}
